<?php
/**
 * Created by PhpStorm.
 * User: yu
 * Date: 2017/8/12
 * Time: 上午8:45
 */

namespace app\api\model;


use think\Exception;

class Banner
{
	public static function getBannerById($id){
		//TODO 根据id获取banner信息
		try{
			1/0;
		}catch(Exception $e){
			throw $e;
			return 'banner info';
		}
//		return null;
	}
}